package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 材料类型对象 sys_mat_type
 * 
 * @author ruoyi
 * @date 2020-07-03
 */
public class SysMatType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 材料id */
    private Integer matId;

    /** 材料名称 */
    @Excel(name = "材料名称")
    private String matName;

    /** 材料类型 */
    @Excel(name = "材料类型")
    private String matType;

    /** 创建者 */
    @Excel(name = "创建者")
    private String matCreateBy;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date matCreateTime;

    /** 材料备注 */
    @Excel(name = "材料备注")
    private String matRemark;

    public void setMatId(Integer matId) 
    {
        this.matId = matId;
    }

    public Integer getMatId() 
    {
        return matId;
    }
    public void setMatName(String matName) 
    {
        this.matName = matName;
    }

    public String getMatName() 
    {
        return matName;
    }
    public void setMatType(String matType) 
    {
        this.matType = matType;
    }

    public String getMatType() 
    {
        return matType;
    }
    public void setMatCreateBy(String matCreateBy) 
    {
        this.matCreateBy = matCreateBy;
    }

    public String getMatCreateBy() 
    {
        return matCreateBy;
    }
    public void setMatCreateTime(Date matCreateTime) 
    {
        this.matCreateTime = matCreateTime;
    }

    public Date getMatCreateTime() 
    {
        return matCreateTime;
    }
    public void setMatRemark(String matRemark) 
    {
        this.matRemark = matRemark;
    }

    public String getMatRemark() 
    {
        return matRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("matId", getMatId())
            .append("matName", getMatName())
            .append("matType", getMatType())
            .append("matCreateBy", getMatCreateBy())
            .append("matCreateTime", getMatCreateTime())
            .append("matRemark", getMatRemark())
            .toString();
    }
}
